package cloud.keveri.chat4j.provider.chatgpt.config;

import cloud.keveri.chat4j.api.BaseConfig;
import cloud.keveri.chat4j.api.universal.SupplierConfig;
import lombok.*;
import lombok.experimental.SuperBuilder;

/**
 * Chatgpt 厂商配置
 * <p>
 * 作者：沈自在
 **/
@Data
@SuperBuilder
@ToString(callSuper = true)
@NoArgsConstructor
public class ChatgptConfig extends BaseConfig implements SupplierConfig {

    /**
     * 覆盖主机地址
     */
    @Builder.Default
    private String host = "https://api.openai.com/";

    /**
     * 是否启动代理
     */
    @Builder.Default
    private Boolean isProxy = Boolean.FALSE;

    /**
     * 代理地址
     */
    private String proxyUrl;

}
